package cn.patient.pp.module.knowledge.controller.admin.vo;

import cn.patient.pp.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

import static cn.patient.pp.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author liqingsong
 * @version 1.0
 * Create by 2025/4/14
 */
@Schema(description = "管理后台 - 知识库分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class KnowledgeBasePageReqVO extends PageParam {
    @Schema(description = "名称", example = "李四")
    private String name;

    @Schema(description = "编号")
    private String number;

    @Schema(description = "文本附件url", example = "https://www.iocoder.cn")
    private String textAttachmentUrl;

    @Schema(description = "备注")
    private String remarks;

    @Schema(description = "发布日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] publishDate;

    @Schema(description = "执行日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] execDate;

    @Schema(description = "废止日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] abortDate;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] createTime;

}

